<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no">
    <link rel="stylesheet" type="text/css" href="<?php echo isset($skin)?$skin:"";?>css/bootstrap.min.css" />
<link rel="stylesheet" type="text/css" href="<?php echo isset($skin)?$skin:"";?>css/basic.css" />
<link rel="stylesheet" type="text/css" href="<?php echo isset($skin)?$skin:"";?>style/index.css" />
<script type="text/javascript" src="<?php echo isset($skin)?$skin:"";?>js/jquery.min.js"></script>
<link type="image/x-icon" rel="shortcut icon" href="<?php echo isset($skin)?$skin:"";?>img/favicon.ico" />
<script type="text/javascript" src="<?php echo isset($skin)?$skin:"";?>js/bootstrap.min.js"></script>
    <title><?php echo isset($webname)?$webname:"";?></title>
</head>
<body>

<nav class="navbar navbar-default navbar-fixed-top nav_bg navbar_width">
    <div class="container">
        <div class="navbar-header">
            <a href="<?php echo url('index/index');?>" class="navbar-brand logo"><img src="<?php echo isset($skin)?$skin:"";?>img/logo.png" alt="<?php echo isset($webname)?$webname:"";?>"></a>
            <?php if($info->usersid > 0){?>
                <ul class="navbar_info">
                    <li>用户名: <span><?php echo isset($info->username)?$info->username:"";?></span></li>
                    <li>余额￥: <span><?php echo isset($info->points)?$info->points:"";?></span></li>
                </ul>
            <?php }else{?>
                <ul class="navbar_ul">
                    <li><a href="<?php echo url('users/reg');?>" class="btn-white btn-danger">注 册</a></li>
                    <li><a href="<?php echo url('users/login');?>" class="btn-white btn-success">登 陆</a></li>
                </ul>
            <?php }?>


<!--           -->
<!--            <button type="button" class="navbar-toggle white" data-toggle="collapse" data-target="#nav_list">-->
<!--                <span class="icon-bar"></span>-->
<!--                <span class="icon-bar"></span>-->
<!--                <span class="icon-bar"></span>-->
<!--            </button>-->

        </div>
<!--        <div class="collapse navbar-collapse" id="nav_list">-->
<!--            <ul class="nav navbar-nav navbar-right">-->
<!--                <li><a href="<?php echo url('index/index');?>"><span class="glyphicon glyphicon-home"></span> 首页</a></li>-->
<!--                <li><a href="<?php echo url('game/index');?>"><span class="glyphicon glyphicon-th-large"></span> 游戏乐园</a></li>-->
<!--                <?php if($info->usersid > 0){?>-->
<!--                <li><a href="<?php echo url('users/index');?>"><span class="glyphicon glyphicon-user"></span> 会员</a></li>-->
<!--                <li><a href="<?php echo url('users/out');?>"><span class="glyphicon glyphicon-off"></span> 退出</a></li>-->
<!--                <?php }?>-->
<!--            </ul>-->
<!--        </div>-->


    </div>
</nav>

<div id="myCarousel" class="carousel slide" data-ride="carousel">
    <ol class="carousel-indicators">
        <li data-target="#myCarousel" data-slide-to="0" class="active"></li>
        <li data-target="#myCarousel" data-slide-to="1"></li>
    </ol>
    <div class="carousel-inner">
        <div class="item active"><img src="<?php echo isset($skin)?$skin:"";?>img/banner/01.png" alt="网站直充"></div>
        <div class="item"><img src="<?php echo isset($skin)?$skin:"";?>img/banner/02.png" alt="多方充值"></div>
    </div>
</div>
<div id="main_login" class="white_bg">
    <div class="container-fluid"><span class="red">手机测试版,请勿下注.</span>
        <?php if($info->usersid > 0){?>
        <p>用户名: <span><?php echo isset($info->username)?$info->username:"";?></span>金豆: <span><?php echo isset($info->points)?$info->points:"";?></span><!--银行: <span><?php echo isset($info->bankpoints)?$info->bankpoints:"";?></span>--></p>
        <?php }else{?>
        <p>你还未登陆,请先 <a href="<?php echo url('users/login');?>">登陆</a> 或 <a href="<?php echo url('users/reg');?>">免费注册</a></p>
        <?php }?>
    </div>
</div>

<div id="main_type" class="white_bg">
    <div class="container-fluid">
        <div class="row">
            <div class="col-lg-3 col-md-3 col-sm-3 col-xs-3 main_row">
                <a href="<?php echo url('game/index/id/1');?>" >
                    <img src="<?php echo isset($skin)?$skin:"";?>img/type/js.png" class="img-responsive" alt="急速">
                    <span>急速类</span>
                </a>
            </div>
            <div class="col-lg-3 col-md-3 col-sm-3 col-xs-3 main_row">
                <a href="<?php echo url('game/index/id/2');?>" onclick="login_check()">
                    <img src="<?php echo isset($skin)?$skin:"";?>img/type/bj.png" class="img-responsive" alt="急速">
                    <span>北京类</span>
                </a>
            </div>
            <div class="col-lg-3 col-md-3 col-sm-3 col-xs-3 main_row">
                <a href="<?php echo url('game/index/id/3');?>" onclick="login_check()">
                    <img src="<?php echo isset($skin)?$skin:"";?>img/type/pk.png" class="img-responsive" alt="急速">
                    <span>pk类</span>
                </a>
            </div>
            <div class="col-lg-3 col-md-3 col-sm-3 col-xs-3 main_row">
                <a href="<?php echo url('game/index/id/4');?>" onclick="login_check()">
                    <img src="<?php echo isset($skin)?$skin:"";?>img/type/dd.png" class="img-responsive" alt="急速">
                    <span>蛋蛋类</span>
                </a>
            </div>
            <div class="col-lg-3 col-md-3 col-sm-3 col-xs-3 main_row">
                <a href="<?php echo url('game/index/id/5');?>" onclick="login_check()">
                    <img src="<?php echo isset($skin)?$skin:"";?>img/type/jnd.png" class="img-responsive" alt="急速">
                    <span>加拿大类</span>
                </a>
            </div>
            <div class="col-lg-3 col-md-3 col-sm-3 col-xs-3 main_row">
                <a href="<?php echo url('game/index/id/6');?>" onclick="login_check()">
                    <img src="<?php echo isset($skin)?$skin:"";?>img/type/hg.png" class="img-responsive" alt="急速">
                    <span>韩国类</span>
                </a>
            </div>
            <div class="col-lg-3 col-md-3 col-sm-3 col-xs-3 main_row">
                <a href="<?php echo url('game/index/id/7');?>" onclick="login_check()">
                    <img src="<?php echo isset($skin)?$skin:"";?>img/type/28r.png" class="img-responsive" alt="急速">
                    <span>28热</span>
                </a>
            </div>
            <div class="col-lg-3 col-md-3 col-sm-3 col-xs-3 main_row">
                <a href="<?php echo url('game/index');?>">
                    <img src="<?php echo isset($skin)?$skin:"";?>img/type/more.png" class="img-responsive" alt="急速">
                    <span>更多类</span>
                </a>
            </div>
        </div>
    </div>
</div>

<div id="main_column" class="white_bg">
    <div class="container-fluid">
        <div class="row">
            <div class="col-lg-3 col-md-3 col-sm-3 col-xs-6 pad0">
                <a href="#">
                    <div class="news">
                        <div class="news_img"><img src="<?php echo isset($skin)?$skin:"";?>img/icon/news1.png" class="img-responsive" alt=""></div>
                        <div class="news_img">
                            <h3>新闻公告</h3>
                            <p>News</p>
                        </div>
                        <div class="clearfix"></div>
                        <div class="news_text">关注最新公告，助你赢取大奖!</div>
                    </div>
                </a>
            </div>
            <div class="col-lg-3 col-md-3 col-sm-3 col-xs-6 pad0">
                <a href="#">
                    <div class="news">
                        <div class="news_img"><img src="<?php echo isset($skin)?$skin:"";?>img/icon/news2.png" class="img-responsive" alt=""></div>
                        <div class="news_img">
                            <h3>最新活动</h3>
                            <p>Popular events</p>
                        </div>
                        <div class="clearfix"></div>
                        <div class="news_text">内容丰富，给你意想不到的心惊喜!</div>
                    </div>
                </a>
            </div>
            <div class="col-lg-3 col-md-3 col-sm-3 col-xs-6 pad0">
                <a href="#">
                    <div class="news">
                        <div class="news_img"><img src="<?php echo isset($skin)?$skin:"";?>img/icon/news3.png" class="img-responsive" alt=""></div>
                        <div class="news_img">
                            <h3>合作商家</h3>
                            <p>Cooperation agency</p>
                        </div>
                        <div class="clearfix"></div>
                        <div class="news_text">诚信服务，为您所想为您所忧!</div>
                    </div>
                </a>
            </div>
            <div class="col-lg-3 col-md-3 col-sm-3 col-xs-6 pad0">
                <a href="http://wpa.qq.com/msgrd?v=3&uin=123456&site=qq&menu=yes">
                    <div class="news">
                        <div class="news_img"><img src="<?php echo isset($skin)?$skin:"";?>img/icon/news4.png" class="img-responsive" alt=""></div>
                        <div class="news_img">
                            <h3>联系客服</h3>
                            <p>Contact Customer Service</p>
                        </div>
                        <div class="clearfix"></div>
                        <div class="news_text">更多疑难问题，请与客服QQ联系!</div>
                    </div>
                </a>
            </div>
        </div>
    </div>
</div>
</div>
<nav class="navbar-default navbar-fixed-bottom nav_bg">
    <div class="container-fluid nav-li">
        <ul class="nav navbar-nav">
            <li><a href="mobile.php"><span class="glyphicon glyphicon-home"></span> <b>首页</b></a></li>
            <li><a href="<?php echo url('game/index');?>"><span class="glyphicon glyphicon-th-large"></span> <b>游戏乐园</b></a></li>
            <li><a href="<?php echo url('users/index');?>"><span class="glyphicon glyphicon-user"></span> <b>会员</b></a></li>
        </ul>
    </div>
</nav>
<div style="display: none">
<script>var lainframe;</script>
</div>
</body>
</html>
